import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '发布人',
    align: "center",
    dataIndex: 'publishUser_dictText'
  },
  {
    title: '姓名',
    align: "center",
    dataIndex: 'name'
  },
  {
    title: '年龄',
    align: "center",
    dataIndex: 'age'
  },
  {
    title: '学历',
    align: "center",
    dataIndex: 'edu_dictText'
  },
  {
    title: '工作经验',
    align: "center",
    dataIndex: 'experience_dictText'
  },
  {
    title: '个人优势',
    align: "center",
    dataIndex: 'advantage'
  },
  {
    title: '个人介绍',
    align: "center",
    dataIndex: 'introduce'
  },
  {
    title: '附件',
    align: "center",
    dataIndex: 'files',
  },
];

// 高级查询数据
export const superQuerySchema = {
  publishUser: {title: '发布人',order: 0,view: 'sel_search', type: 'string',dictTable: "sys_user", dictCode: 'id', dictText: 'realname',},
  name: {title: '姓名',order: 1,view: 'text', type: 'string',},
  age: {title: '年龄',order: 2,view: 'text', type: 'string',},
  edu: {title: '学历',order: 3,view: 'list', type: 'string',dictCode: 'kr_edu',},
  experience: {title: '工作经验',order: 4,view: 'list', type: 'string',dictCode: 'kr_exprience',},
  advantage: {title: '个人优势',order: 5,view: 'textarea', type: 'string',},
  introduce: {title: '个人介绍',order: 6,view: 'textarea', type: 'string',},
  files: {title: '附件',order: 7,view: 'file', type: 'string',},
};
